package com.manage.service;

import com.manage.common.result.Result;
import com.manage.pojo.entity.CmSysUser;

import java.util.List;

public interface LawyerService  {


    // 获取律师详情
    Result<CmSysUser> getLawyerDetail(Long id);

    // 添加律师
    Result<String> addLawyer(CmSysUser lawyer);

    // 更新律师信息
    Result<String> updateLawyer(CmSysUser lawyer);
    // 获取律师列表（分页）
    Result<List<CmSysUser>> getLawyerList(int pageNum, int pageSize);

//    // 修改律师状态
//    Result<String> changeLawyerStatus(Long id, Integer status);

    // 重置律师密码
    Result<String> resetLawyerPassword(Long id, String newPassword);

    // 逻辑删除律师
    Result<String> deleteLawyer(Long id);

}